package com.wus.system.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Description: 用户注册请求体
 * @Author: wus
 * @Date: 2024/12/31 15:58
 */
@Schema(description = "用户注册请求体")
@Data
public class SysUserRegisterReq {

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    @NotNull
    private Long deptId;

    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    @NotBlank
    private String userName;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称")
    @NotBlank
    private String nickName;

    /**
     * 用户邮箱
     */
    @Schema(description = "用户邮箱")
    @NotBlank
    private String email;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码")
    @NotBlank
    private String phone;

    /**
     * 密码
     */
    @Schema(description = "密码")
    @NotBlank
    private String password;
}
